; void sp1_ChangeSprType(struct sp1_cs *c, void *drawf)

SECTION code_clib
SECTION code_temp_sp1

PUBLIC sp1_ChangeSprType

EXTERN asm_sp1_ChangeSprType

sp1_ChangeSprType:

   pop bc
   pop de
   pop hl
   push hl
   push de
   push bc
   
;   jp asm_sp1_ChangeSprType
   push ix
   call asm_sp1_ChangeSprType
   pop ix
   ret

; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _sp1_ChangeSprType
defc _sp1_ChangeSprType = sp1_ChangeSprType
ENDIF

